home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 2 / ACE CD 2.iso / FILES / DOCS / AMOSDOC.LHA / AmosHyperBook.dms / in.adf / Errors / ALLIANCE-3 < prev    next >
Encoding:
Text File  |  1992-03-21  |  15.9 KB  |  413 lines

  1.  
  2. RUN TIME ERRORS
  3.  
  4. The following messages are generated when your AMOS program
  5.  encounters an error as it is running, AMOS will then abort
  6.  your program and highlight the current instruction.
  7.  Once you return to the editor, the cursor wull be
  8.  placed immiediately at the offending line.
  9.      If you are using error trapping,you may wish to
  10.  obtain the error message associated with a particular
  11.  number.
  12. Use line like:
  13. Error Errn
  14.  
  15. Each run time error has its own error number which is listed
  16.  below.
  17. A special FOLLOW command can also be used to see how your
  18.  variables are changing during the running of your program.
  19.  The FOLLOW commands are listed here:
  20.  
  21. FOLLOW (View the state of one or more variables)
  22. FOLLOW [list of expressions...]
  23.  with your program screen. You can move the window up and
  24.  down the display using the up and down arrow keys.
  25.    Any folded proceedures will not be followed by the
  26.  system,allowing you to simply follow the proceedure or
  27.  routine that needs inspecting.
  28.  
  29. FOLLOW OFF
  30. This command clears any previous FOLLOW instructions and
  31.  removes the FOLLOW window from the display.
  32.  
  33. ANIMATION STRING TOO LONG (113):The current AMAL program
  34.  is longer than the maximum of 65536 bytes.Try splitting
  35.  your program into smaller units.Its quite acceptable to
  36.  animate the object using several AMAL channels.
  37.  
  38. ADDRESS ERROR (25):This will occur when an address is
  39.  used in  DOKE,DEEK,LOKE,or LEEK command that is an odd value
  40.  
  41. Array already dimensioed (28):You have attempted to dimension
  42.  an array twice in your program.Usually this will be detected
  43.  in the syntax check, but if your program is a complex one
  44.  it will only be discovered when you actually attempt
  45.  to redimension the array.
  46. AUTOTEST ALREADY OPENED (111):An AMAL autotest has been
  47.  defined inside another autotest command.This is of course
  48.  not allowed.
  49.  
  50. BAD IFF FORMAT (30):Youve tried to use LOAD IFF to load
  51.  a file which has been stored in an unusual format.
  52.  Remember that LOAD IFF can only load screens into memory
  53. ,NOT general purpose IFF files.
  54.  
  55. BANK ALREADY RESERVED (35):You have attempted to create a memory
  56.  bank which already exists.Note that banks 1 to 4 are normally
  57.  used to hold your sprites,icons,music and menu definitions
  58.  respectively.
  59.  
  60. BANK NOT RESERVED (36):This error indicates that the bank you
  61.  have selected has not been created using RESERVE.It can also
  62.  occur after commands like PASTE ICON or SAMPLAY which
  63.  automatically load information from a specific memory bank.
  64.  
  65. BLOCK NOT FOUND (65):The block you specified in this in
  66.  instruction has not been created with GET BLOCK.
  67. BLOCK NOT DEFINED(68):The bob you attempted to manipulate has not
  68.  been set up using a previous Bob command.This error can occur
  69.  after a mistake in a PASTE BOB instruction.
  70.  
  71. BORDERED WINDOWS NOT ON EDGE OF A SCREEN (59):You cant position a
  72.  bordered window at the edge of the screen.You must leave at
  73.  least eight pixels between the window and the screen so as to
  74.  provide space for the border.
  75.  
  76. CAN'T FIT PICTURE IN CURRENT SCREEN (32):You attempted to load a
  77.  picture into an existing screen with LOAD IFF,but the two
  78.  screens are not of the same type.Tag the number of the
  79.  destination screen to the LOAD IFF command like so:
  80.  
  81. Load Iff "filename",number
  82.  
  83. Providing the screen you specified in number is in the correct
  84.  range (0-7),AMOS will automatically create a screen of the
  85.  requuired type during the loading process.
  86.  
  87. CAN'T RESUME TO A LABEL (4):You cannot resume to a label in an
  88.  error proceedure.
  89.  
  90. CAN'T SET DUAL PLAYFILD (70):You tried to create dual playfield
  91.  using the wrong sort of screens.See the section DUAL PLAYFIELD
  92.  command for a list of the allowable combinations.
  93.  
  94. COPPER LIST TOO LONG(77):As a default,your user-defined copper
  95.  list is limited to a maximum of 12k.This may be extended using
  96.  an option from the CONFIG accessory.
  97.  
  98. COPPER NOT DISABLED (76):You've attempted to use the COP MOVE or
  99.  COP SWAP commands without first disabling the normal copper list
  100.  with COPPER OFF.
  101.  
  102. DEVICE NOT AVAILABLE (86):The disc or device you specified in the
  103.  instruction is not connected to the Amiga.This error is often
  104.  caused by an unexpected disk change. The solution is to set the
  105.  directory to the actual drive name using a line like:
  106.  
  107. Dir$="Df0:"
  108. If this occurs when using the file selector,click on one of the
  109.  drive buttons such as "Df0:" and change the directory using the
  110.  setdir button.
  111.  
  112. DIRECTORY NOT EMPTY (85):Its only possible to erase empty
  113.  directories with KILL.
  114.  
  115. DIRECTORY NOT FOUND (80):The required directory cannot be found
  116.  on the current disk.Perhaps you have inserted the wrong
  117.  disk?(You thick twat !)
  118.  
  119. DISK FULL (88): There is no more space on the current disk to
  120.  hold your data.
  121.  
  122. DISK IS NOT VALIDATED (83):
  123. Whenever you insert a disk the Amiga automatically checks for its
  124.  validity.If an error occurs within this process you will get
  125.  this message.Due to the complexities of the Amiga the validation
  126.  errors are occasionally generated by mistake. If the problem
  127.  persists you may need to use the DISK DOCTOR
  128.  program from the standard workbench disk. This error can occur
  129.  if you kick the plug out of the wall and invalidate the hard
  130.  disk!.
  131.  
  132. DISK IS WRITE PROTECTED (84):AMOS cannot save out information if
  133.  the disk is physically protected so slide the write protect tab
  134.  or use another disk .
  135.  
  136. DIVISION BY ZERO (20):You have attempted to divide a number by
  137.  zero.
  138. This is not allowed in any Basic.
  139.  
  140. END OF FILE (100):The end of the current file has been
  141.  unexpectedlly reached during a disk access.Use  the EOF function
  142.  to test for this condition inside your program.
  143.  
  144. END OF PROGRAM (10):This message is printed after after AMOS
  145.  executes the last instruction in your program.
  146.  
  147. ERROR NOT RESUMED (3):You exited from an error handling routine
  148.  without resetting the error using RESUME.
  149.  
  150. ERROR PROCEEDURE MUST RESUME TO END (8):You cannot exit from an
  151.  error handling proceedure with END PROC.you must use one of the
  152.  special RESUME commands instead.
  153.  
  154. OUT OF STACK SPACE (0): This error is generated when you try to
  155.  nest too many proceedure calls inside each other. AMOS
  156.  proceedures can call themselves (recursion),but you'll get an
  157.  error after about 50 loops.
  158.  
  159. FILE ALREADY EXISTS (79): It is not possible to RENAME a file to
  160.  an existing or directory on a disk.
  161.  
  162. FILE ALREADY OPENED (96) : An attempt to access a file with OPEN
  163.  or APPEND has been aborted because its already open.
  164.  
  165. struction instead.
  166.  
  167. FILE IS PROTECTED AGAINST DELETION (89):The Amigas disk system
  168.  lets you protect individual files from deletion using the
  169.  PROTECT   command from CLI.You have probably attempted to erase
  170.  an important system file with delete.
  171.  
  172. FILE IS PROTECTED AGAINST READING (91): The requested file has
  173.  been protected against reading. See the Amiga users guide which
  174.  came with your computer for full details of the PROTECT command
  175.  which is available from CLI.
  176.  
  177. FILE IS WRITE PROTECTED (90):You can't alter the selected file
  178.  because its been intentinally locked with the PROTECT command
  179.  from CLI
  180.  
  181. FILE NOT FOUND (81): You tried to access a file or directory
  182.  which does not exist in the current directory.
  183.  
  184. FILE NOT OPENED (97): Your program has attempted to transfer data
  185.  to or from a file which has not been previously opened using
  186.  OPEN IN,OPEN OUT,APPEND and so on
  187.  
  188. FILE TYPE MISMATCH (98): A disk command has been used which is
  189.  not allowed on the current file.This error would occur if you
  190.  were to use the GET and PUT commands to access a sequential
  191.  file.
  192.  
  193. FLASH DECLARATION ERROR (52): You have made a mistake in the
  194.  animation string used to define a colour sequence with FLASH.
  195.  
  196. FONTS NOT EXAMINED (37):Before using the SET FONT command,you
  197.  must first create a list of the available fonts using either GET
  198.  FONTS,GET DISK FONTS,or GET ROM FONTS.
  199.  
  200. I/O ERROR (94): One of your files may be corrupted and cannot be
  201.  accessed correctly.If the problem persists you may need to use
  202.  DISK DOCTOR from CLI  (Diskdoctor is on your workbench disk )
  203.  
  204. IFF COMPRESSION NOT RECOGNISED (31): The screen you wish to load
  205.  from the disk uses an unfamiliar compression system. If possible
  206.  return to the graphics package you used to produce this screen
  207.  and save it as standard IFF format.
  208.  
  209. ICON NOT DEFINED (74):The icon you specified in your instruction
  210.  cannot be found in the current icon bank (bank 2)
  211.  
  212. ILLEGAL BLOCK PARAMETERS (66): There's been a mistake in either a
  213.  GET BLOCK or PUT BLOCK command.The values you have entered are
  214.  not allowed.
  215.  
  216. ILLEGAL COPPER PARAMETER (78): The values you have entered in a
  217.  COP MOVE,COP MOVEL or COP SWAP instruction lies outside the
  218.  permitted range.
  219.  
  220. ILLEGAL FILE NAME (82): You have attempted to use a filename
  221.  which does not comply with the standard naming conventions.Refer
  222.  to your Amigas user guide.
  223.  
  224. ILLEGAL FUNCTION CALL (23): This error is produced if you make a
  225.  mistake when entering values into an AMOS command. Check the
  226.  relevant section of the user manual for a full list of the
  227.  allowable parameters
  228.  
  229. ILLEGAL INSTRUCTION DURING AUTOTEST (115): You have used an AMAL
  230.  command such as Move or Anim inside an AUTOTEST.Check the case
  231.  of your AMAL labels. You may have  defined an AUTOTEST by
  232.  mistake.
  233.  
  234. ILLEGAL NUMBER OF COLOURS (49):The Amigas hardware only supports
  235.  certain combinations of colours on screen at once.See the
  236.  chapter on SCREENS for a full list of available option.You have
  237.  probably made a typing error in the SCREEN OPEN command.
  238.  
  239. ILLEGAL SCREEN PARAMETER (48): The dimensions you specified with
  240.  SCREEN OPEN are unacceptable. The minimum screen size is just
  241.  32x8 and the maximum depends entirely upon the amount of
  242.  available chip memory.
  243.  
  244. ILLEGAL WINDOW PARAMETER (60): You've entered an incorrect value
  245.  in one of various window commands.
  246.  
  247. INPUT TOO LONG (99):An input string is too long for a previously
  248.  dimensioned  variable.Or you may have tried to INPUT# a line of
  249.  more than 1000 characters.
  250.  
  251. INSTRUCTION ONLY VALID IN AUTOTEST (112):The direct or eXit
  252.  commands can only be used inside an AMAL AUTOTEST.
  253.  
  254. JUMP TO/WITHIN AUTOTEST IN ANIMATIN STRING (110): It's illegal to
  255.  jump directly inside an AUTOTEST from your main AMAL program
  256.  ,use the eXit or direct commands instead.
  257.  
  258. LABEL ALREADY DEFINED IN AN ANIMATION STRING (109): AMOS has
  259.  encountered two versions of the same label definition in your
  260.  AMAL program.Remember all labels consist of just a single UPPER
  261.  case letter.
  262.  
  263. LABEL NOT DEFINED (40):The label included in your instruction has
  264.  not been defined in your program.
  265. Check for mistakes in computed GOTOs,GOSUBs or RESTORE
  266.  statements.
  267.  
  268. LABEL NOT DEFINED IN ANIMATION STRING (114): This error is
  269.  generated when you attempt to jump to a non existent label in an
  270.  AMAL animation string.
  271. MENU ITEM NOT DEFINED (39):The item you have specified in your
  272.  menu command has not been defined previously using MENU$.
  273.  
  274. MENU NOT OPENED (38):The MENU ON command has been called but
  275.  there is no menu.You will need first to define your menu using
  276.  the MENU$ instruction or MAKE MENU BANK.
  277.  
  278. NEXT WITHOUT FOR IN ANIMATION STRING (108): This indicates a
  279.  mistake in one of AMAL animation strings.  Each next command
  280.  needs to be associated with a single FOR statement.Check the
  281.  case of any comments in your AMAL program.
  282.  
  283. NO ON ERROR PROC BEFORE THIS INSTRUCTION (5):RESUME LABEL is
  284.  only allowed after an ON ERROR PROC command.
  285.  
  286. NO DATA AFTER THIS LABEL (41): RESTORE has tried to move the
  287.  data pointer which does not include any DATA statements.
  288.  
  289. NO DISK IN DRIVE (93): You've tried to access a drive which does
  290.  not appear to contain a disc.If you have just inserted
  291.  a disk,wait a couple of momennts and try again.
  292.  
  293. NO PROGRAMS BELOW CURRENT PROGRAM (43): If the program running is
  294.  not installed as an accessory and you try to BGRAB a bank you'll
  295.  receive this error.
  296.  
  297. NO ZONE DEFINED (73): Before using SET ZONE,you must first
  298.  allocate some memory with RESERVE ZONE.
  299.  
  300. NON DIMENSIONED ARRAY (27): Your program has tried to refer to
  301.  an array which has not previously been defined.
  302.  
  303. NOT AN AMIGADOS DISK (92): Unless your using a program like
  304.  Crossdos, AMOS can only read disks that were created on the
  305.  Amiga.So PC and ST(YUK!) disks would create such an error.
  306.  
  307. OUT OF DATA (33): The READ command has read past the last DATA
  308.  item in   your program. You have probably missed out some
  309.  information when you were entering one of your data lines.Also
  310.  check for any RESTORE commands for typing errors.
  311.  
  312. OUT OF MEMORY (24): This is a standard error message which is
  313.  generated when you attempt to exceed the available storage
  314.  space.DON'T PANIC !
  315. There are three different ways of conserving memory
  316. 1> CLOSE WORKBENCH turns off the Amigas workbench system to
  317.  free 40k.
  318. 2> CLOSE EDITOR deactivates the editor window when its not
  319.  being    used...saves 24k!
  320. 3>If the information line reports there is plenty of
  321.  spare memory,then save your program and reboot.This will
  322.  correct a memory fragmentation problem caused by the
  323.  Amigas operating system.
  324.  
  325. OUT OF VARIABLE SPACE (11): As a default,AMOS only allocates
  326.  8k of storage space for your strings and arrays.Use
  327.  SET BUFFER command at the start of your programto increase
  328.  this as required.
  329. OVERFLOW (29): The result of a calculation has exceeeded
  330. the maximum size of the variable
  331.  
  332. POP WITHOUT GOSUB (2): POP can only be executed within a
  333.  subroutine which was previously entered with GOSUB.Use POP PROC
  334.  to exit from a proceedure.
  335.  
  336. PROGRAM INTERRUPTED (9):This is not an error:you've
  337.  probably simply pressesd the cntrl-C keys or used a
  338.  stop instruction to exit directly from your program.
  339.  
  340. PROGRAM NOT FOUND (42):The program named in the PRUN command
  341.  has not been previously loaded into the Amiga's memory.Use
  342.  LOAD OTHER from the  menu window.
  343.  
  344. RETURN WITHOUT GOSUB (1):RETURN can only be used once to
  345.  exit from a subroutine which was originally entered using GOSUB.
  346.  
  347. RAINBOW NOT DEFINED (75):Before calling the RAINBOW command in
  348.  one of your programs,you must first define your rainbor effect
  349.  with SET RAINBOW.
  350.  
  351. RESUME LABEL NOT DEFINED (6): The label you specified in the
  352.  RESUME command does not exist.
  353.  
  354. RESUME WITHOUT ERROR (7): The RESUME command cannot be
  355.  executed unless an error has occurred inyour program
  356. .Its best used to exit back to AMOS BASIC after an error.
  357.  
  358. SCREEN ALREADY IN DOUBLE BUFFERING (69): You've attempted to
  359.  call DOUBLE BUFFER twice on the same screen.
  360.  
  361. SCREEN NOT IN DUAL PLAYFIELD MODE (71): DUAL PRIORITY can
  362.  only be used after you've created a dual playfield.
  363.  
  364. SCREEN NOT OPENED (47): The screen you have attempted to
  365.  access has not previously been openedusing the screen command.
  366.  
  367. SCREENS CAN'T BE ANIMated (67):AMAL can only move or
  368.  scroll screens.It is not possible to anmate them using the
  369.  built in ANIM command.
  370.  
  371. SCROLLING ZONE NOT DEFINED(72):Before using the SCROLL
  372.  comand, you need to define the direction and size of
  373.  your scrolling area with SET SCROLL.
  374.  
  375. SHIFT DECLARATION ERROR (53):You've made a mistake in the
  376.  colour sequence used in the SHIFT UP or SHIFT DOWN instructions.
  377. SPRITE ERROR (105): The values you've entered in into a
  378.  sprite command do not fall within the requuired limits.
  379.  
  380. STRING TOO LONG (21): Astring has exceeded the maximum of
  381.  65000 characters which is allowed under AMOS basic.
  382.  
  383. SYNTAX ERROR IN ANIMATION STRING (107):Theres been a mistake
  384.  in the animation sequence you specified using the
  385. Anim command.Check for typing errors.Its all too easy to
  386.  accidently enter a full stop"." instead of a comma","
  387.   by mistake
  388.  
  389. THIS WINDOW HAS NO BORDER (63):You have used the BORDER COMMAND
  390.  on a window which has no border.
  391.  
  392. TOO MANY COLOURS IN FLASH (51):You've exceeded the maximum of 16
  393.  colour changes in a single FLASH command.
  394.  
  395. TYPE MISMATCH (34): An illegal value has been assigned  to a
  396.  variable.For example:
  397. A$=12 Should read A$="12"
  398.  
  399. VALID SCREEN NUMBERS RANGE FROM 0 TO 7 (50):AMOS only allows
  400.  you to open a maximum of 8 screens at any one time.
  401.  
  402. WINDOW ALREADY OPENED (55): An attempt to open a window has
  403.  failed because it was already open.
  404.  
  405. WINDOW NOT OPENED (54): You have attempted to open a window
  406.  that does not exist.
  407.  
  408. WINDOW TOO LARGE (57): The requested window cannot be
  409.  opened because it is too big to fit in the current screen.
  410.  
  411. WINDOW TOO SMALL (56):The requested window is too small
  412. .The minimum window size is 3x3
  413.